#-------------------------------------------------
#
# Project created by QtCreator 2012-04-01T21:42:33
#
#-------------------------------------------------

QT       += core gui svg xml

contains(QT_CONFIG, opengl): QT += opengl

TARGET = DVGEditor
TEMPLATE = app


SOURCES += main.cpp\
        mainwindow.cpp \
    editorwidget.cpp \
    editorview.cpp \
    editorscene.cpp \
    colorchooser.cpp \
    newdocumentdialog.cpp \
    polygontool.cpp \
    objectnamedialog.cpp \
    aboutdialog.cpp

HEADERS  += mainwindow.h \
    version.h \
    types.h \
    editorwidget.h \
    editorview.h \
    editorscene.h \
    colorchooser.h \
    newdocumentdialog.h \
    polygontool.h \
    objectnamedialog.h \
    aboutdialog.h

FORMS    += mainwindow.ui \
    newdocumentdialog.ui \
    objectnamedialog.ui \
    aboutdialog.ui

MAJOR = 1
MINOR = 1
VERSION_HEADER = ../DVGEditor/version.h

versiontarget.target = $$VERSION_HEADER
versiontarget.commands = ../version/debug/version.exe $$MAJOR $$MINOR $$VERSION_HEADER
versiontarget.depends = FORCE

PRE_TARGETDEPS += $$VERSION_HEADER
QMAKE_EXTRA_TARGETS += versiontarget

RC_FILE = dvge.rc

RESOURCES += \
    images.qrc

OTHER_FILES += \
    images/segment.png \
    images/save.png \
    images/rect.png \
    images/qt.png \
    images/polygon.png \
    images/palette.png \
    images/open.png \
    images/new.png \
    images/map.png \
    images/exit.png \
    images/ellipse.png \
    images/delete.png \
    images/cursor.png \
    images/about.png \
    images/sendtoback.png \
    images/bringtofront.png \
    images/node_delete.png \
    images/node_add.png \
    images/name.png \
    images/hand.png \
    images/cursor_hand.png
